znc: do not watch znc.conf for changes
authorRalph Siemsen <[email protected]>
Fri, 17 Oct 2025 20:09:21 +0000 (16:09 -0400)
committerJonas Gorski <[email protected]>
Sun, 19 Oct 2025 14:05:01 +0000 (16:05 +0200)
commit00feb12444c846f1655a3c550c9f751ae552b24b
tree9fee38bcfc158453887a6b061054d4b35f48ac1d
parenta38196f1516fd9d1b5a072bf799dab8b3f5fa2af
znc: do not watch znc.conf for changes

ZNC can modify its own config file (znc.conf) during runtime, for
example using controlpanel or webadmin modules. Manually editing the
znc.conf file while znc is running is strongly discouraged.

Thus prodc should not watch this file, it would just lead to znc being
restarted unnecessarily.

As it happens, no restarts were done, because the watched path was
specified incorrectly. It used ZNC_CONFIG instead of ZNC_CONFIG_DIR,
and so it watched /tmp/etc/znc/configs/znc.conf/configs/znc.conf which
does not exist.

Remove the watch of znc.conf as it is not needed.

Signed-off-by: Ralph Siemsen <[email protected]>
net/znc/Makefile
net/znc/files/znc.init